package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.AdministrationEvectionApplyForm;
import com.sihai.ehr.model.biz.AdministrationEvectionApplyFormAuditing;
import com.sihai.ehr.model.sys.User;
import com.sihai.ehr.web.pojo.SearchFormPojo;

import java.util.List;

/**
 * author: wxn
 * since: 13-4-15 22:08
 * 行政签核系统 - 出差申请单Service
 */
public interface AdministrationEvectionApplyFormService {
    void save(AdministrationEvectionApplyForm form)throws Exception;

    AdministrationEvectionApplyForm get(Long id)throws Exception;

    boolean delete(String ids)throws Exception;

    LimitedList<AdministrationEvectionApplyForm> findAdministrationEvectionApplyForm(User user, SearchFormPojo searchFormPojo, Limit limit, Sorter sorter)throws Exception;

    List<List<AdministrationEvectionApplyFormAuditing>> findAdministrationEvectionApplyFormAuditing(Long formId)throws Exception;

    void saveAdministrationEvectionApplyFormAuditingProcess(Long formId)throws Exception;
}
